/**
 * MarioEnemy_FlyingTurtle
 * @extends MarioEnemy
 * @version 2010.12.03
 */
class MarioEnemy_FlyingTurtle extends MarioEnemy;

/**
 * PostBeginPlay
 * @version 2010.12.03
 */
simulated function PostBeginPlay()
{
	if(MyController != none)
	{
		MyController = Spawn(class'MarioEnemy_FlyingTurtleAI', self);
		MyController.SetPawn(self);
	}
	
	spawnPoint = Location;
	Super.PostBeginPlay();
}

defaultproperties
{
	Begin Object Class=StaticMeshComponent Name=StaticMeshComponent0
		StaticMesh       = StaticMesh'MarioMeshes.flyTurtle'
		LightEnvironment = MyLightEnvironment;
	End Object
	
	NPCMesh = StaticMeshComponent0
	Mesh    = SkeletalMeshComponent0
	Components.Add(StaticMeshComponent0);
	Health = 100;
}

function addComponents()
{
	spawnPoint.Y = spawnPoint.Y + 30;
	Destroy();
	Spawn(class'MarioEnemy_Turtle',,, spawnPoint);
}
